package cn.xyy.common.domain.system.auth;

import cn.xyy.common.annotation.jdbc.Columns;
import cn.xyy.common.annotation.jdbc.Tables;
import cn.xyy.common.domain.mvc.PageParam;

/**
 * 岗位表
 * 
 * @author xyy
 *
 */
@Tables("t_sys_job")
public class Job extends PageParam {

	// Fields
	@Columns(value = "job_id", primaryKey = true)
	private Integer id;
	@Columns("name")
	private String name;
	@Columns("status")
	private Integer status;
	@Columns("sorts")
	private Integer sorts;

	public Integer getId() {
		return id;
	}

	public Job setId(Integer id) {
		this.id = id;
		return this;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getSorts() {
		return sorts;
	}

	public void setSorts(Integer sorts) {
		this.sorts = sorts;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

}